package com.itheima.zifu;

import java.io.FileInputStream;
import java.io.IOException;

public class Demo02_02 {

    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("day13\\aaa\\a.txt");
        int len;
        byte[] bytes=new byte[1024];
        while ((len=fis.read(bytes))!=-1){
            String s = new String(bytes);
            System.out.println(s);
        }
        fis.close();

    }
}
